package com.huang.yygh.hosp.repository;

import com.huang.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author HuangShen
 * @description: 科室
 * @date 2021/5/4 11:03
 */
@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {



    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
